home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / batchut / bcsrce2.zip / DOFILES.SRC < prev    next >
Text File  |  1990-11-11  |  452b  |  16 lines

  1. echo off
  2. IF !%1==! GOTO HELP
  3. IF !%2==! GOTO HELP
  4. FOR %%H IN (%2) DO echo %1 %%H %3 %4 %5 %6 %7 %8 %9
  5. GOTO END
  6. :HELP
  7. ECHO SYNTAX--:  DOFILES [DOS command] [Filespec] [Redirect] [output]
  8. ECHO USAGE---:  Writes .BAT code wedding [command] to [Filespec]
  9. ECHO  
  10. ECHO SAMPLE SEQUENCES:  DOFILES BAT2EXEC *.BAT [Redirect] Compile.bat
  11. ECHO                    DOFILES LZEXE *.COM
  12. ECHO  
  13. ECHO Only one filespec with wildcards is supported.
  14. :END
  15.  
  16.